import { http } from '../utils/request'

const userApi = {
  /** 登录用户信息 */
  getUserInfo () {
    return http.get('/api/user/getInfO','',false)
  },
  /** 修改用户 */
  editUser (data) {
    return http.put(`/api/user`,data,false)
  },
}

export default userApi